import {
  request
} from './request'

export function requestLogin(loginForm) {
  const username = loginForm.username;
  const password = loginForm.password;
  return request({
    url: '/login',
    params: {
      username,
      password
    }
  })
}